echo off
cls

cd C:\Users\mayerrob\Source\Bachelor\NeuroOCR

RMDIR /S /Q .\_BIN_REL\
MKDIR .\_BIN_REL\
MKDIR .\_BIN_REL\SVC
MKDIR .\_BIN_REL\VIS
MKDIR .\_BIN_REL\CTR
MKDIR .\_BIN_REL\CFG
MKDIR .\_BIN_REL\SPL
MKDIR .\_BIN_REL\MAINMENU

copy .\Visual_App\bin\Release\*.dll .\_BIN_REL\VIS
copy .\Visual_App\bin\Release\Visual_App.exe .\_BIN_REL\VIS
copy .\AForge\NeuralNet\bin\Release\MLP.NeuralNet.dll .\_BIN_REL\VIS

copy .\NeuroProzessorSvc\bin\Release\*.dll .\_BIN_REL\SVC
copy .\NeuroProzessorSvc\bin\Release\NeuroProzessorSvc.exe .\_BIN_REL\SVC

copy .\Controller_App\bin\Release\*.dll .\_BIN_REL\CTR
copy .\Controller_App\bin\Release\Controller_App.exe .\_BIN_REL\CTR

copy .\Config_App\bin\Release\*.dll .\_BIN_REL\CFG
copy .\Config_App\bin\Release\Config_App.exe .\_BIN_REL\CFG

copy .\MainMenu\bin\Release\*.dll .\_BIN_REL\MAINMENU
copy .\MainMenu\bin\Release\MainMenu.exe .\_BIN_REL\MAINMENU

copy .\Splitter_App\bin\Release\*.dll .\_BIN_REL\SPL
copy .\Splitter_App\bin\Release\Splitter_App.exe .\_BIN_REL\SPL


echo 10>.\_BIN_REL\SVC\MM.info
echo Dienst starten>>.\_BIN_REL\SVC\MM.info
echo ..\START.bat>>.\_BIN_REL\SVC\MM.info
echo 20>>.\_BIN_REL\SVC\MM.info
echo Dienst beenden>>.\_BIN_REL\SVC\MM.info
echo ..\STOP.bat>>.\_BIN_REL\SVC\MM.info

echo 30>.\_BIN_REL\VIS\MM.info
echo Visualisierung>>.\_BIN_REL\VIS\MM.info
echo ..\VIS\Visual_App.exe>>.\_BIN_REL\VIS\MM.info

echo 40>.\_BIN_REL\CFG\MM.info
echo Konfiguration>>.\_BIN_REL\CFG\MM.info
echo ..\CFG\Config_App.exe>>.\_BIN_REL\CFG\MM.info

echo 50>.\_BIN_REL\CTR\MM.info
echo Controller>>.\_BIN_REL\CTR\MM.info
echo ..\CTR\Controller_App.exe>>.\_BIN_REL\CTR\MM.info

echo 60>.\_BIN_REL\SPL\MM.info
echo Splitter>>.\_BIN_REL\SPL\MM.info
echo ..\SPL\Splitter_App.exe>>.\_BIN_REL\SPL\MM.info